<h1>Listing Story Types</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Low Word Count</th>
    <th>High Word Count</th>
  </tr>

<% for story_type in @story_types %>
  <tr   class="<%= cycle('list-line-odd', 'list-line-even') %>">
    <td><%=h story_type.name %></td>
    <td><%=h story_type.lowcount %></td>
    <td><%=h story_type.highcount %></td>
    <td><%= link_to 'Show', story_type_path(story_type) %></td>
    <td><%= link_to 'Edit', edit_story_type_path(story_type) %></td>
    <td><%= link_to 'Destroy', story_type_path(story_type), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New story_type', new_story_type_path %>